POV-Ray : Newsgroups : povray.programming : About the Mesh : Re: About the Mesh Server Time
28 Jul 2024 06:23:52 EDT (-0400)
  Re: About the Mesh  
From: Thorsten Froehlich
Date: 24 Oct 2002 04:48:09
Message: <3db7b3c9@news.povray.org>
In article <3db76db8@news.povray.org> , "Wu Yang" <wya### [at] cswrightedu> 
wrote:

>     In mesh.cpp, there is a Intersect_Mesh() function. In this function,
> there is a Mesh pointer and I found that  Mesh->Data->Vertices is the x
> values of a triangle corners. Is that right? How can I get the x, y, z
> values of the corners?

No offense, but given the kind of questions you ask you may want to learn a
bit more C first and maybe gain experience with less complex applications
before you start looking into the POV-Ray source code.

As you should be able to see easily from the source code, Mesh->Data is
pointer to Mesh_Data_Struct and Vertices is an array of SNGL_VECT...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.